package operation;

import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-05-19
 * Time:21:12
 */
public class DisplayOperation implements IOperation{
    @Override
    public void work(BookList books) {
        for (int i = 0; i < books.getSize(); i++) {
            System.out.println(books.getBook(i));
        }
    }
}
